using Coldairarrow.Entity.Base_Manage;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Api.Controllers.SubApp
{
    public interface IDepartmentSyncBusiness
    {
    Task AddDataAsync(DepartmentSyncInputDTO input);
    Task UpdateDataAsync(DepartmentSyncInputDTO input);
    Task DeleteDataAsync(List<string> ids);
    Task<List<string>> GetAllDataAsync();
    bool CheckExists(string id);
  }


  [Map(typeof(Base_Department))]
  public class DepartmentSyncInputDTO : Base_Department
  {
  }
}